package io.renren.dao;

import io.renren.entity.MemberMachineEntity;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * 用户矿机表
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-04-14 14:11:21
 */
public interface MemberMachineDao extends BaseMapper<MemberMachineEntity> {
	/**
	 * 查询会员算力
	 * 
	 * @param id
	 * @return
	 */
	Double totalHashSecond(Long id);

	/**
	 * 个人每日收益
	 * 
	 * @param id
	 * @return
	 */
	Double totalPerDayProfit(Long id);
}
